/*
 * Instruction35.java
 *
 * Created on March 21, 2007, 10:37 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package moto9s12sim;

/**
 *
 * @author Fergus Earnshaw
 */
public class Instruction35 extends Instruction{
    
    /** Creates a new instance of Instruction35 */
    public Instruction35() {
         this.strAssemblyCode = "PSHY";
        this.bCodes = new byte[1];
        this.bCodes[0] = (byte)Integer.parseInt("35",16);
    }
    
    public boolean excute(M9S12 cpu)
    {
        short shTmp;
        this.shAddr = cpu.PC.getRegister();
       
        //To Do CODE INS
        
        cpu.PC.inc();
        
        printInstruction(cpu);
        //I think the first invalid instruction should halt excution
        return true;
    }  
    
}
